package com.zsj.queue;

/**
 * @Author zsj
 * @Version 1.0
 * @Date 2024/3/29 16:45
 * @Description
 */
public class Entry implements Priority {
    private String value;

    private int priority;

    public Entry(String value, int priority) {
        this.value = value;
        this.priority = priority;
    }

    @Override
    public int priority() {
        return this.priority;
    }
}
